x86: Support skipping relocation for EFI
authorSimon Glass <[email protected]>
Tue, 4 Aug 2015 18:33:44 +0000 (12:33 -0600)
committerSimon Glass <[email protected]>
Wed, 5 Aug 2015 14:44:05 +0000 (08:44 -0600)
commit981dca69f6a1df3b71f45350499cda12a40fd5ee
tree4be70749eaaacaae385288a9636f5c930929047d
parent08aeb8b5fe7381a23e8f207744095814c17932ff
x86: Support skipping relocation for EFI

When running as an EFI application we must skip relocation. Add support for
this in the x86 relocation code.

Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
arch/x86/lib/relocate.c